package com.tarena.luban.worker.server.repo;

import com.tarena.luban.worker.server.bo.WorkerBO;
import com.tarena.tp.luban.worker.server.dto.param.WorkerCreateParam;

public interface WorkerRepository {
    Long saveWorker(WorkerCreateParam workerCreateParam);

    WorkerBO getWorkerByUserId(Long userId);

    void deleteWorker(Long userId);
}
